package com.erp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@Accessors(chain = true)
@TableName(value = "sys_permission")
public class Permission implements Serializable {


    @TableField(exist = false)
    private static  final  long seria1VersionUID=1l;

  //  @TableId(type = IdType.AUTO)
    private  Integer id;
    private  Integer pid;
    private  String type;
    private String percode;
    private  String icon;
    private  String href;
    private  String target;
    private  String title;
    private int open;
    private  int ordernum;
   private  int available;
 //   private Date createTime;


}
